<script type="text/javascript">
    //<!--
    $(document).ready(function() {

        $('.jquery').each(function() {
            eval($(this).html());
        });
    });
    //-->
</script>

<div id="tabs-1">
    <p>This example show default script behaviour.</p>
    <code class="jquery" lang="text/javascript">
        $('#tree1').checkboxTree();
    </code>
    <ul id="tree1">
        <li><input type="checkbox"><label>Node 1</label>
            <ul>
                <li><input type="checkbox"><label>Node 1.1</label>
                    <ul>
                        <li><input type="checkbox"><label>Node 1.1.1</label>
                    </ul>
            </ul>
            <ul>
                <li><input type="checkbox"><label>Node 1.2</label>
                    <ul>
                        <li><input type="checkbox"><label>Node 1.2.1</label>
                        <li><input type="checkbox"><label>Node 1.2.2</label>
                        <li><input type="checkbox"><label>Node 1.2.3</label>
                            <ul>
                                <li><input type="checkbox"><label>Node 1.2.3.1</label>
                                <li><input type="checkbox"><label>Node 1.2.3.2</label>
                            </ul>
                        <li><input type="checkbox"><label>Node 1.2.4</label>
                        <li><input type="checkbox"><label>Node 1.2.5</label>
                        <li><input type="checkbox"><label>Node 1.2.6</label>
                    </ul>
            </ul>
        <li><input type="checkbox"><label>Node 2</label>
            <ul>
                <li><input type="checkbox"><label>Node 2.1</label>
                    <ul>
                        <li><input type="checkbox"><label>Node 2.1.1</label>
                    </ul>
                <li><input type="checkbox"><label>Node 2.2</label>
                    <ul>
                        <li><input type="checkbox"><label>Node 2.2.1</label>
                        <li><input type="checkbox"><label>Node 2.2.2</label>
                        <li><input type="checkbox"><label>Node 2.2.3</label>
                            <ul>
                                <li><input type="checkbox"><label>Node 2.2.3.1</label>
                                <li><input type="checkbox"><label>Node 2.2.3.2</label>
                            </ul>
                        <li><input type="checkbox"><label>Node 2.2.4</label>
                        <li><input type="checkbox"><label>Node 2.2.5</label>
                        <li><input type="checkbox"><label>Node 2.2.6</label>
                    </ul>
            </ul>
    </ul>
</div>


<ul id="roleTree">
    <li><input type='checkbox'><label>Admin</label>
        <ul>
            <li><input type='checkbox'><label>User List</label>
                <ul>
                    <li><input type='checkbox'><label>User Role</label>
                        <ul>
                            <li><input type='checkbox'><label>Change Password</label>
                                <ul>
                                    <li><input type='checkbox'><label>Marketing</label>
                                        <ul>
                                            <li><input type='checkbox'><label>Distributor List</label>
                                                <ul>
                                                    <li><input type='checkbox'><label>Sponsor Tree</label>
                                                        <ul>
                                                            <li><input type='checkbox'><label>Placement Tree</label>
                                                                <ul>
                                                                    <li><input type='checkbox'><label>Enquiry</label>
                                                                        <ul>
                                                                            <li><input type='checkbox'><label>Announcement</label>
                                                                                <ul>
                                                                                    <li><input type='checkbox'><label>Finance</label>
                                                                                        <ul>
                                                                                            <li><input
                                                                                                    type='checkbox'><label>Advance
                                                                                                Pin</label>
                                                                                                <ul>
                                                                                                    <li><input
                                                                                                            type='checkbox'><label>Pin
                                                                                                        Transaction</label>
                                                                                                        <ul>
                                                                                                            <li><input
                                                                                                                    type='checkbox'><label>Monthly
                                                                                                                Bonus</label>
                                                                                                                <ul>
                                                                                                                    <li>
                                                                                                                        <input type='checkbox'><label>Daily
                                                                                                                        Bonus</label>
                                                                                                                        <ul>
                                                                                                                            <li>
                                                                                                                                <input type='checkbox'><label>Gold
                                                                                                                                Trading
                                                                                                                                History</label>
                                                                                                                                <ul>
                                                                                                                                    <li>
                                                                                                                                        <input type='checkbox'><label>E-Cash
                                                                                                                                        Statement
                                                                                                                                        (Personal)</label>
                                                                                                                                        <ul>
                                                                                                                                            <li>
                                                                                                                                                <input type='checkbox'><label>E-Cash
                                                                                                                                                Statement
                                                                                                                                                (Company)</label>
                                                                                                                                                <ul>
                                                                                                                                                    <li>
                                                                                                                                                        <input type='checkbox'><label>E-Cash
                                                                                                                                                        Deposit</label>
                                                                                                                                                        <ul>
                                                                                                                                                            <li>
                                                                                                                                                                <input type='checkbox'><label>E-Cash
                                                                                                                                                                Adjustment</label>
                                                                                                                                                                <ul>
                                                                                                                                                                    <li>
                                                                                                                                                                        <input type='checkbox'><label>E-Cash
                                                                                                                                                                        Withdrawal</label>
                                                                                                                                                                        <ul>
                                                                                                                                                                            <li>
                                                                                                                                                                                <input type='checkbox'><label>Gold
                                                                                                                                                                                Redemption</label>
                                                                                                                                                                                <ul>
                                                                                                                                                                                    <li>
                                                                                                                                                                                        <input type='checkbox'><label>CPS
                                                                                                                                                                                        Price
                                                                                                                                                                                        Setting</label>
                                                                                                                                                                                        <ul></ul>